﻿using System;
using System.Collections.Generic;
using System.Text;
using BCMS.Business.DataContract;

namespace BCMS.FrontEnd.DataContract
{
    public class UserUI
    {
        public int ID { set; get; }
        public string UserName { set; get; }
        public string Password { set; get; }
        public string Roles { set; get; }
        public string FullName { set; get; }
        public string Email { set; get; }
        public string Phone { set; get; }
        public string Address { set; get; }
        public string Position { set; get; }
        public string Department { set; get; }

        public UserUI() { }

        public UserUI(UserInfo item)
        {
            this.ID = item.ID;
            this.UserName = item.UserName;
            this.Password = item.Password;
            this.Roles = item.Roles;
            this.FullName = item.FullName;
            this.Email = item.Email;
            this.Phone = item.Phone;
            this.Address = item.Address;
            this.Position = item.Position;
            this.Department = item.Department;
        }
    }
}
